package com.yyc.system.dao;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.yyc.core.Mapper;
import com.yyc.system.model.TTask;

public interface TTaskMapper extends Mapper<TTask> {

	@Select("SELECT a.*,b.user_name FROM t_task a,t_user b WHERE a.class_id = #{classId} AND a.user_id = b.id")
	List<TTask> getTaskByClassId(Integer classId);
}